Addition of event_based_trips.txt to specification #527
+19
−0
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Draft PR to address #526
Example
Transit Agency X is running a special event train service to a football game starting at 7:00 PM with an estimated end time of 10:00 PM. There are two trains scheduled to leave the football stadium, both 30 minutes and 60 minutes after the game ends.
If the event ends early, the agency can accommodate passengers immediately, meaning that the first train can leave as early as 7:30 PM.
Due to federal rest restrictions, the final train must leave by midnight, and the prior train must leave by 11:45 PM. The latest the game can end while supporting the scheduled service pattern would be 11:00 PM for the second train, and 11:15 PM for the first train.
The first scheduled departure trip has trip_id
trip_approx_1
and the second trip has IDtrip_approx_2
. Only passengers with a special event ticket are able to ride.stop_times.txt
event_based_trips.txt
Notes
stop_times.txt
shows the approximate stop times for each trip, assuming that the event ends at its expected time.stop_times.txt
and theevent_end_earliest
andevent_end_latest
fields, one can determine the earliest and latest stop times for each trip.event_end_apprximate
field, one can determine how long after the event each trip departs.event_end_latest
field may not be the same between trips. For example, NJ Transit's River Line must do a short trip during late-night service due to track restrictions. Thus, a hypothetical event must have an earlier end time to support trips that cover the entire line.